package me.liekkas.notify.sms.impl;

import me.liekkas.notify.sms.BizTypeEnum;
import me.liekkas.notify.sms.ITemplate;

public enum AliSmsTemplateEnum implements ITemplate {

    /**
     * 注册验证码
     */
    UC_REGISTER(BizTypeEnum.注册验证码, "code0001", "overseaCode0001", "你正在注册sample.com,验证码为${code},请勿泄漏他人！", "You are registering sample.com,verify code is ${code}, Please don't tell others！"),
    /**
     * 审核状态通知
     */
    AUDIT_STATUS(BizTypeEnum.审核状态通知, "code0002", "overseaCode0001", "你发布的文章已通过审核", "You are registering sample.com,verify code is ${code}, Please don't tell others！"),
    /**
     * 订单已确认
     */
    ORDER_CONFIRM(BizTypeEnum.订单已确认, "code0003", "overseaCode0001", "你的订单已确认,编号为：${orderNo}", "You are registering sample.com,verify code is ${code}, Please don't tell others！");


    AliSmsTemplateEnum(BizTypeEnum bizTypeEnum, String templateCode, String templateOverseaCode, String templateCHString, String templateENString) {
        this.bizTypeEnum = bizTypeEnum;
        this.templateCode = templateCode;
        this.templateOverseaCode = templateOverseaCode;
        this.templateCHString = templateCHString;
        this.templateENString = templateENString;
    }

    /**
     * 业务类型
     */
    private BizTypeEnum bizTypeEnum;
    /**
     * 阿里云短信模板编码-国内
     */
    private String templateCode;
    /**
     * 阿里云短信模板编码-港澳台
     */
    private String templateOverseaCode;
    /**
     * 中文模板
     */
    private String templateCHString;
    /**
     * 英文模板
     */
    private String templateENString;

    public BizTypeEnum getBizTypeEnum() {
        return bizTypeEnum;
    }

    public String getTemplateCode() {
        return templateCode;
    }

    public String getTemplateOverseaCode() {
        return templateOverseaCode;
    }

    public String getTemplateCHString() {
        return templateCHString;
    }

    public String getTemplateENString() {
        return templateENString;
    }
}
